package oocl.ita.eordering.vo;

import java.util.ArrayList;
import java.util.List;

import oocl.ita.eordering.po.Client;
import oocl.ita.eordering.po.Order;

public class Vorder extends Order {
	private List<Vfood> foodlist;
	private Client client;

	public Client getClient() {
		return client;
	}

	public void setClient(Client client) {
		this.client = client;
	}

	public Vorder(Order order) {
		super();
		this.setoId(order.getoId());
		this.setcId(order.getcId());
		this.setmId(order.getmId());
		this.setFoodInfo(order.getFoodInfo());
		this.setoStatus(order.getoStatus());
		this.setStartTime(order.getStartTime());
		this.setConfirmTime(order.getConfirmTime());
		this.setFinishTime(order.getFinishTime());
		this.setoStark(order.getoStark());
		this.setComplaint(order.getComplaint());
	}

	public List<Vfood> getFoodlist() {
		return foodlist;
	}

	public void setFoodlist(List<Vfood> foodlist) {
		this.foodlist = foodlist;
	}

}
